package com.adcc.ags.agent;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.dropwizard.Configuration;
import org.hibernate.validator.constraints.NotEmpty;

/**
 * 应用配置类
 */
public class AppConfiguration extends Configuration{

    @NotEmpty
    private String networkDevice;

    @NotEmpty
    private String ping;

    @NotEmpty
    private String tracert;

    @JsonProperty("networkDevice")
    public String getNetworkDevice() {
        return networkDevice;
    }

    @JsonProperty("networkDevice")
    public void setNetworkDevice(String networkDevice) {
        this.networkDevice = networkDevice;
    }

    @JsonProperty("ping")
    public String getPing() {
        return ping;
    }

    @JsonProperty("ping")
    public void setPing(String ping) {
        this.ping = ping;
    }

    @JsonProperty("tracert")
    public String getTracert() {
        return tracert;
    }

    @JsonProperty("tracert")
    public void setTracert(String tracert) {
        this.tracert = tracert;
    }
}
